﻿using System;
using System.Collections.Generic;

namespace ChuanYe.CountyFireManagement.Model
{
    public class LocaInfoModel
    {

        public string LocaId { get; set; }

        public string LocaName { get; set; }

        public string LocaTypeId { get; set; }

        public decimal? LocaHigh { get; set; }

        public string Describe { get; set; }

        public int Link { get; set; }

        public int PowerMode { get; set; }

        public string AddressCounty { get; set; }

        public string AddressCountyName { get; set; }

        public string AddressTown { get; set; }

        public string AddressTownName { get; set; }

        public string AddressVillage { get; set; }

        public string AddressVillageName { get; set; }

        public decimal? Longitude { get; set; }

        public decimal? Latitude { get; set; }

        public decimal? Altitude { get; set; }

        public DateTime AddTime { get; set; }
        public int AlarmCount { get; set; }

        public dynamic Videos { get; set; }

        public DateTime? AlarmNextTime { get; set; }
    }



    public class LocaInfoTreeModel
    {
        public string NodeId { get; set; }

        public string NodeName { get; set; }

        public List<LocaInfoChildTreeModel> Child { get; set; }
    }

    public class LocaInfoChildTreeModel 
    {
        public string NodeId { get; set; }

        public string NodeName { get; set; }

        public List<LocaInfoChildTreeModel> Child { get; set; }

        public List<LocaInfoModel> List { get; set; }
    }
}